<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<s:errors/>
<table>
    <tr>
        <th><s:label for="b1" name="trainer.firstName"><f:message key="trainer.table.firstname"/></s:label></th>
        <td><s:text id="b1" name="trainer.firstName"/></td>
    </tr>
    <tr>
        <th><s:label for="b2" name="trainer.lastName"><f:message key="trainer.table.lastname"/></s:label></th>
        <td><s:text id="b2" name="trainer.lastName"/></td>
    </tr>
    <tr>
        <th><s:label for="b3" name="trainer.birthDate"><f:message key="trainer.table.birthdate"/></s:label></th>
        <td>
            <s:select class="day" name="day">
                <s:option value=""><f:message key="trainer.table.day"/></s:option>
                <s:options-collection collection="${actionBean.allDays}"/>
            </s:select>
            <s:select class="month" name="month">
                <s:option value=""><f:message key="trainer.table.month"/></s:option>
                <s:options-enumeration enum="com.pokemon.other.Month"/>
            </s:select>
            <s:select class="year" name="year">
                <s:option value=""><f:message key="trainer.table.year"/></s:option>
                <s:options-collection collection="${actionBean.allYears}"/>
            </s:select>
        </td>
    </tr>
</table>
